<%@include file="static/header.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<form name="f" action="<c:url value='j_spring_security_check'/>" method="POST">
    <table cellpadding="5" cellspacing="0" border="0" width="100%" align="center">
        <tbody>
            <tr>
                <td valign="top" width="55%"></td>
                <td valign="top" width="45%">

                    <div class="maxWidth bgBorder">
                        <div class="colHeaderLink portletLoginHeader">
                            <spring:message code="login" />
                        </div>
                        <table align="center" width="100%" cellpadding="4" cellspacing="0" border="0">
                            <tr>
                                <td valign="middle" id="td_body">

                                    <div id="field_simple">
                                        <c:if test="${not empty param.login_error}">
                                            <font color="red">
                                            <spring:message code="message.error.login"/><BR><BR>
                                            </font>
                                        </c:if>
                                    </div>

                                    <div id="label_text">
                                        <b><u>N</u>azwa Użytkownika</b>
                                    </div>
                                    <div id="field_object">
                                        <input type='text' name='j_username' value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>'/>
                                        </div>

                                        <div id="label_text">
                                            <b><u>H</u>asło</b>
                                        </div>

                                        <div id="field_object">
                                            <input type='password' name='j_password'>
                                        </div>

                                        <div id="field_simple">
                                            <input id="login" type="submit" value="Zaloguj Się" tabindex="4" />
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        <%--</div>--%>

                </td>
        </tbody>
    </table>


</div>
</div>
</td>
</tr>
</table>
</form>

<div style="white-space: nowrap; width: 100%;">&nbsp;</div>


<!-- END LOGIN -->
<%@include file="static/footer.jsp" %>
